import 'dart:async';
import 'package:cbec_app/components/base/base_ctr.dart';
import 'package:cbec_app/components/http/network.dart';

class SafeAccountCtr extends BaseController {
  bool hasPassword = false;

  @override
  void onInit() {
    super.onInit();
    hasPayPassword();
  }

  Future<void> hasPayPassword() async {
    bool boolValue = await Network.hasPayPassword();
    hasPassword = boolValue;
    update();
  }
}
